package com.shop.service;

import com.github.pagehelper.PageInfo;
import com.shop.entity.Product;
import com.shop.entity.Result;

/**
 * description: 该文件说明
 *
 * @author zhaoxiaozhao（xiaozhao.zhao@ucarinc.com）
 * @version 1.0
 * @date 2018/10/11 16:00
 **/
public interface ProductService {
    public PageInfo<Product> findProductList(Integer page,Integer rows,Product product);
    public Result addProduct(Product product);
    public Result modifyProduct(Product product);
    public Result updateProductStatu(String productId);
    public Product findProductByProductId(String productId);
    public PageInfo<Product> findProductByCategoryType(Integer page,Integer row,Product product);
}
